package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.UserbankcardDao;
import com.bootdo.appsystem.domain.UserbankcardDO;
import com.bootdo.appsystem.service.UserbankcardService;



@Service
public class UserbankcardServiceImpl implements UserbankcardService {
	@Autowired
	private UserbankcardDao userbankcardDao;
	
	@Override
	public UserbankcardDO get(Integer id){
		return userbankcardDao.get(id);
	}
	
	@Override
	public List<UserbankcardDO> list(Map<String, Object> map){
		return userbankcardDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return userbankcardDao.count(map);
	}
	
	@Override
	public int save(UserbankcardDO userbankcard){
		return userbankcardDao.save(userbankcard);
	}
	
	@Override
	public int update(UserbankcardDO userbankcard){
		return userbankcardDao.update(userbankcard);
	}
	
	@Override
	public int remove(Integer id){
		return userbankcardDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return userbankcardDao.batchRemove(ids);
	}

	@Override
	public UserbankcardDO getByUid(Integer uid) {
		return userbankcardDao.getByUid(uid);
	}

}
